#include "ukui-saying-plugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include "saying.h"

void UkuiSayingPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(QString(uri) == QLatin1String("org.ukui.saying"));
    qmlRegisterModule(uri, 1, 0);
    qmlRegisterType<Saying>(uri, 1, 0, "Saying");
    Q_INIT_RESOURCE(res);
}